/**
 * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 **/

.header-user-menu {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.header-go-login {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s;
}

.header-go-login:hover {
  background-color: #2980b9;
}

.header-user-container {
  position: relative;
}

.header-username {
  cursor: pointer;
  font-weight: bold;
  color: #3498db;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.header-username:hover {
  background-color: rgba(52, 152, 219, 0.1);
}

.header-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  width: 150px;
  z-index: 1000;
}

.header-dropdown-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 1rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.header-dropdown-menu button:hover {
  background-color: #f5f5f5;
}

.header-go-user-profile {
  color: #333;
}

.header-go-to-my-orders {
  color: #333;
}

.header-logout-btn {
  color: #e74c3c;
}